package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.model.YgUserModel;
import com.ygqh.baby.po.YgUser;

public interface YgUserService {

	YgUser findUserById(Long id);

	YgUser findByUserName(String username);

	String saveHeadImageToMongo(String headImageUrl, String userName);

	YgUserModel findModelById(Long id);

	YgUser findByOpenId(String openId);

	List<YgUserModel> findModelByIds(List<Long> ids);

}
